package day_2022_7_to_8.day48;

/**
 * @author haomin
 * @date 2022/08/19 08:55
 **/
public class Day34_1_Num1450_BusyStudent {
    class Solution {
        public int busyStudent(int[] startTime, int[] endTime, int queryTime) {
            int num = 0;
            for(int i = 0;i < startTime.length;i++){
                if(startTime[i] <= queryTime && queryTime <= endTime[i]) num++;
            }
            return num;
        }
    }
}